/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.BCDichVuBLL;
import edu.nii.qlks.DataTransferObject.BCDichVuInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class BCDichVuControl {
    BCDichVuBLL BCDichVu = new BCDichVuBLL();
    
    public ArrayList LayDS() throws Exception{
        return BCDichVu.LayDS();
    }
        
    public void Insert(BCDichVuInfo bCDichVuInfo) throws Exception{
        BCDichVu.Insert(bCDichVuInfo);
    }
    
    public void Update(BCDichVuInfo bCDichVuInfo) throws Exception{
        BCDichVu.Update(bCDichVuInfo);
    }
    
    public void Delete(BCDichVuInfo bCDichVuInfo) throws Exception{
        BCDichVu.Delete(bCDichVuInfo);
    }
    
    public String TaoMaTuDong(String maGoc, int batDau){
         return BCDichVu.TaoMaTuDong(maGoc, batDau);
     }
}
